#!/bin/sh
#set -n
#set -x
cat ~/seeker/dcc/spread.txt | \
while read short_host desc svc env ; do
#desc="$1"
#host=$2
host=$(grep $short_host < ~/seeker/dcc/winhosts | sed -e "s/\r//g" )
#flogin=$(grep $host < ~/seeker/dcc/winhosts | sed -e "s/\r//g" )
if [ -z "$host" ] ; then
	continue
fi
echo "+ \"$host $desc $svc $env\" RdpDccFunction irvb \"$short_host $desc $svc $env\" $short_host $host"
done
